@inherits RadzenChartComponentBase

@code {
    [Parameter]
    public string Stroke { get; set; }

    [Parameter]
    public double StrokeWidth { get; set; } = 1;

    [Parameter]
    public LineType LineType { get; set; }

    [Parameter]
    public bool Visible { get; set; } = false;

    [CascadingParameter]
    public IChartAxis ChartAxis
    {
        set
        {
            value.GridLines = this;
        }
    }

    override protected bool ShouldRefreshChart(ParameterView parameters)
    {
        return DidParameterChange(parameters, nameof(Visible), Visible);
    }
}
